package tech.aichan.AiQA.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import tech.aichan.AiQA.model.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * 用户数据库操作
 *
 * @author  大蠢驴  
    
 */
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where userAccount = #{account}")
    User getUserByAccount(String account);
}




